Skip to content

fix envoy-filter-example build breakage#95

Closed
Mythra wants to merge 1 commit intoenvoyproxy:masterfrom
Mythra:fix-build
Closed

fix envoy-filter-example build breakage#95
Mythra wants to merge 1 commit intoenvoyproxy:masterfrom
Mythra:fix-build

Conversation

@Mythra
Copy link
Copy Markdown
Member

@Mythra Mythra commented Jul 26, 2019

the way of importing envoy dependencies is now different, this
fixes them as well as includes the changes in: #94 (which added
functionality but did not fix the build).

the way of importing envoy dependencies is now different, this
fixes them as well as includes the changes in: #94 (which added
functionality but did not fix the build).

Signed-off-by: Cynthia Coan <ccoan@instructure.com>
rules_override = {
"py_proto_library": "@envoy_api//bazel:api_build_system.bzl",
},
)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is switched_rules_by_language necessary here? Seems like that should happen in envoy_dependencies.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to @kyessenov this is necessary:

His original comment states:

How do we update envoy-filter-example repo in lock-step? I need to update the WORKSPACE, since I can't load googleapis rules in the existing bazel/repositories.bzl (since it loads the googleapis).```

The PR that caused this break has a lot of context as to why it may be hard to reorder.

@lizan
Copy link
Copy Markdown
Member

lizan commented Jul 26, 2019

Do you mind add a line to https://github.com/envoyproxy/envoy/blob/master/ci/filter_example_mirror.sh to do sth like:

https://github.com/envoyproxy/envoy/blob/14c5371/ci/build_setup.sh#L75

so we don't have to manually open PR like this in the future? ci/WORKSPACE.filter.example is used in CI so that one should break.

@Mythra
Copy link
Copy Markdown
Member Author

Mythra commented Jul 26, 2019

@lizan sure, lemme open that as a PR now.

Mythra pushed a commit to Mythra/envoy that referenced this pull request Jul 26, 2019
this forces the same workspace file we use for tests:
  - https://github.com/envoyproxy/envoy/blob/14c5371/ci/build_setup.sh#L75

to be pushed to the envoy-filter-example. this will allow not having
to file a manual PR to fix the build, such as:

- envoyproxy/envoy-filter-example#95

Signed-off-by: Cynthia Coan <ccoan@instructure.com>
@Mythra
Copy link
Copy Markdown
Member Author

Mythra commented Jul 26, 2019

envoyproxy/envoy#7737 has been opened.

I'm going to close this since 7737 will replicate these changes over when it is merged.

@Mythra Mythra closed this Jul 26, 2019
lizan pushed a commit to envoyproxy/envoy that referenced this pull request Jul 26, 2019
Description:

this forces the same workspace file we use for tests:

https://github.com/envoyproxy/envoy/blob/14c5371/ci/build_setup.sh#L75
to be pushed to the envoy-filter-example. this will allow not having
to file a manual PR to fix the build, such as:

envoyproxy/envoy-filter-example#95

Risk Level: Low
Testing: locally
Docs Changes: None
Release Notes: None

Signed-off-by: Cynthia Coan <ccoan@instructure.com>
@Mythra Mythra deleted the fix-build branch July 26, 2019 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants